package com.cloud.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@Schema(name = "流程任务业务对象", description = "工作流管理")
public class TaskParam {

    @Schema(description = "任务Id")
    private String taskId;

    @Schema(description = "任务名称")
    private String taskName;

    @Schema(description = "用户Id")
    private String userId;

    @Schema(description = "任务意见")
    private String comment;

    @Schema(description = "流程定义Id")
    private String procDefId;

    @Schema(description = "流程标识key")
    private String procDefKey;

    @Schema(description = "流程实例Id")
    private String procInsId;

    @Schema(description = "节点")
    private String targetKey;

    @Schema(description = "流程变量信息")
    private Map<String, Object> variables;

    @Schema(description = "审批人")
    private String assignee;

    @Schema(description = "候选人")
    private List<String> candidateUsers;

    @Schema(description = "审批组")
    private List<String> candidateGroups;

    @Schema(description = "抄送用户Id")
    private String copyUserIds;

    @Schema(description = "下一节点审批人")
    private String nextUserIds;

}
